package com.angel.domain.angeluser.valueobjects;

import lombok.Getter;

import java.util.Date;

/*
 * 更新关注微信公众号： 为了offer
 * @author parkin
 * @description  创建信息
 * @date 2021/11/13
 */
@Getter
public class CreateInfo {
    // 创建时间
    private Date createTime;
    // 创建用户
    private Long createUserId;

    public CreateInfo(AngelUserId angelUserId) {
       this(angelUserId,new Date());
    }

    public CreateInfo(AngelUserId angelUserId, Date createTime) {
        this.createUserId = angelUserId.getId();
        this.createTime = createTime;
    }
}
